<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>授权结果页</title>
    <style>
        body {
            width: 100%;
            height: 100%;
        }
    </style>
</head>

<body>
<h2>你好，授权成功!</h2><br>
<h3>通过code换取access_token 结果:</h3>
<div th:text="${token}"></div>
<h3>通过access_token获取用户信息 结果:</h3>
<div th:text="${user}"></div>
<h3>错误信息 结果:</h3>
<div th:text="${errMsg}"></div>
</body>
</html>